<%--
  Created by IntelliJ IDEA.
  User: 62585
  Date: 2021/1/31
  Time: 20:34
  To change this template use File | Settings | File Templates.
--%>
<%@ page contentType="text/html;charset=UTF-8" language="java" %>
<%
    // 获取请求的协议
    String scheme = request.getScheme();
    // 获取请求的服务器地址
    String serverName = request.getServerName();
    // 获取请求的端口号
    int serverPort = request.getServerPort();
    // 获取工程目录
    String contextPath = request.getContextPath();
    String basePath = scheme + "://" + serverName + ":" + serverPort + contextPath + "/";
%>

<base href=<%=basePath%>>
<link type="text/css" rel="stylesheet" href="static/css/style.css">
<script type="text/javascript" src="static/script/jquery-1.7.2.js"></script>
